projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e89e8
)
gdksurface: Ensure some assumptions
author
Timm Bäder
<mail@baedert.org>
Thu, 15 Oct 2020 16:51:51 +0000
(18:51 +0200)
committer
Timm Bäder
<mail@baedert.org>
Thu, 22 Oct 2020 15:46:34 +0000
(17:46 +0200)
Just to please scan-build
gdk/gdksurface.c
patch
|
blob
|
history
diff --git
a/gdk/gdksurface.c
b/gdk/gdksurface.c
index 4b485a012d66012cdb63857a77475e90816e072a..c32c17262b4aec4bef7cf63e2b9da4f6c531cfe3 100644
(file)
--- a/
gdk/gdksurface.c
+++ b/
gdk/gdksurface.c
@@
-2051,6
+2051,9
@@
update_cursor (GdkDisplay *display,
GdkDeviceGrabInfo *grab;
GdkCursor *cursor;
+ g_assert (display);
+ g_assert (device);
+
pointer_info = _gdk_display_get_pointer_info (display, device);
pointer_surface = pointer_info->surface_under_pointer;